\hypertarget{uname_8c}{
\section{uname.c File Reference}
\label{uname_8c}\index{uname.c@{uname.c}}
}
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$unistd.h$>$}\par
{\ttfamily \#include $<$sys/utsname.h$>$}\par
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{uname_8c_a6e6662920dcab8ce3533413bd564e5e8}{uname\_\-default} ()
\begin{DoxyCompactList}\small\item\em function executed to get the current name \item\end{DoxyCompactList}\item 
int \hyperlink{uname_8c_a3c04138a5bfe5d72780bb7e82a18e627}{main} (int argc, char $\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em command main function \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Oana Munteanu, anul 2 Informatica -\/ Engleza 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
1.0
\end{DoxyVersion}
display uname 

\subsection{Function Documentation}
\hypertarget{uname_8c_a3c04138a5bfe5d72780bb7e82a18e627}{
\index{uname.c@{uname.c}!main@{main}}
\index{main@{main}!uname.c@{uname.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (int {\em argc}, \/  char $\ast$$\ast$ {\em argv})}}
\label{uname_8c_a3c04138a5bfe5d72780bb7e82a18e627}


command main function 


\begin{DoxyParams}{Parameters}
\item[{\em argc}]-\/ calling arguments counter \item[{\em $\ast$$\ast$argv}]-\/ calling arguments vector\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success or a positive int on failure 
\end{DoxyReturn}


\begin{DoxySeeAlso}{See also}
run command if no arguments specified 

\hyperlink{uname_8c_a6e6662920dcab8ce3533413bd564e5e8}{uname\_\-default} ();
\end{DoxySeeAlso}


\hypertarget{uname_8c_a6e6662920dcab8ce3533413bd564e5e8}{
\index{uname.c@{uname.c}!uname\_\-default@{uname\_\-default}}
\index{uname\_\-default@{uname\_\-default}!uname.c@{uname.c}}
\subsubsection[{uname\_\-default}]{\setlength{\rightskip}{0pt plus 5cm}int uname\_\-default ()}}
\label{uname_8c_a6e6662920dcab8ce3533413bd564e5e8}


function executed to get the current name 

\begin{DoxyReturn}{Returns}
0 
\end{DoxyReturn}
